<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;

class News extends Model
{
    //
    use Notifiable;
    //
    protected $table = "news";
    public $incrementing = true;
    protected $primaryKey = 'id'; //设置主键
    protected $fillable = ['id', 'cover_img', 'u_id','categories', 'title', 'time', 'visits', 'content', 'EN_title', 'EN_categories', 'EN_content'];
    public $timestamps = false;
}
